package com.dhcc.sdc.busi.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sdc.busi.entity.SdcBusiQcTriggeredEntity;
import com.dhcc.sds.busi.dto.AnalysisCaseDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 质控条目触发记录
 *
 * @ClassName: SdcBusiQcTriggeredMapper
 * @Description: TODO
 * @author zhangdc
 * @date 2022-07-26 14:24:20
 */
public interface SdcBusiQcTriggeredMapper extends BaseMapper<SdcBusiQcTriggeredEntity> {

    List<SdcBusiQcTriggeredEntity> list(@Param("map") Map<String, Object> map);
    List<SdcBusiQcTriggeredEntity> page(@Param("page") Page<SdcBusiQcTriggeredEntity> page, @Param("map") Map<String, Object> map);
    List<Map<String,Object>> selectQcTrendData(@Param("params") Map<String, Object> params);
    List getQcCaseList(@Param("params") Map<String, Object> params);
    List selectQcDetailList(@Param("params") Map<String, Object> params);

    List<Map<String,Object>> selectReportTrendData(@Param("params") Map<String, Object> params);

    List<AnalysisCaseDto> selectPatTrend(@Param("params") Map<String, Object> params);

    List<AnalysisCaseDto> selectPatTrendRE(@Param("params") Map<String, Object> params);

    List<AnalysisCaseDto> selectPatTrendDeath(@Param("params") Map<String, Object> params);

    List<AnalysisCaseDto> selectPatsurgery(@Param("params") Map<String, Object> params);
}
